<template>
	<view class="add-address">
		<view class="dingwei">
			<image class="" src="https://xb-street.oss-cn-shanghai.aliyuncs.com/smallshop/static/order/dingwei.png" mode=""></image>
			<slot></slot>
		</view>
		<view class="qianjin" v-if='qianjin'>
			<image class="" src="https://xb-street.oss-cn-shanghai.aliyuncs.com/smallshop/static/shopingCart/qianjin.png" mode=""></image>
		</view>
	</view>
</template>

<script>
	export default {
		name: "addAddress",
		props: {
			qianjin: {
				type: Boolean,
				default: false
			}
		},
		data() {
			return {

			};
		}
	}
</script>

<style lang="less" scoped>
	.add-address {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 0 20rpx;
		width: 88%;
		min-height: 120rpx;
		background: #FFFFFF;
		border-radius: 12rpx;
		margin: 0 auto;

		.qianjin {
			display: flex;
			align-items: center;

			image {
				width: 12rpx;
				height: 28rpx;
			}

		}

		.dingwei {
			display: flex;
			align-items: center;

			image {
				width: 42rpx;
				height: 42rpx;
			}
		}
	}
</style>
